import request from '@/utils/request'
import data from '@/views/system/dict/data.vue'
// 列表
export function channelList(data) {
  return request({
    url: '/sys/channel/list',
    method: 'post',
    data
  })
}

// 修改
export function channelStatus(id) {
  return request({
    url: `/sys/channel/status/${id}`,
    method: 'get',
  })
}
//添加
export function channelSave(data) {
  return request({
    url: `/sys/channel/save`,
    method: 'post',
    data:data
  })
}
